package gui;

import javax.swing.JFrame;
import javax.swing.WindowConstants;

/**
 * frame for cosigner application
 * 
 * @author gke703
 * */
public class CosignerFrame extends JFrame {

	/** The standard width for the frame. */
	public static final int DEFAULT_WIDTH = 700;

	/** The standard height for the frame. */
	public static final int DEFAULT_HEIGHT = 300;

	/**
	 * Initialise the frame used for the start of the application process
	 */
	public CosignerFrame(LoanInfoPanel appPanel) {
		setTitle("New Student Application");
		setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
		setResizable(false); // application frame should be a fixed size

		CosignerPanel panel = new CosignerPanel(this, appPanel);
		add(panel);
		setDefaultCloseOperation(WindowConstants.HIDE_ON_CLOSE);

	}

	private static final long serialVersionUID = 1L;

}
